<template>
    <div>
        <h4>{{ form_name }} 设置</h4>
        <el-tabs v-model="activeName">
            <el-tab-pane label="主体类别及权重设置" name="owner">
                <owner-type-pager v-if="form_id" :form_id="form_id"></owner-type-pager>
            </el-tab-pane>
            <el-tab-pane label="评测指标设置" name="rule">
                <rule-pager v-if="form_id" :form_id="form_id"></rule-pager>
            </el-tab-pane>
        </el-tabs>
    </div>

</template>
<script>
import OwnerTypePager from "./ru-form-owner-type/Pager.vue"
import RulePager from "./ru-form-rule/Pager.vue"
export default {
    name: "Setting",
    components: {
        OwnerTypePager,
        RulePager,
    },
    mounted() {

    },
    data() {
        return {
            form_id: this.$route.query.id,
            form_name: this.$route.query.name,
            activeName: 'owner'
        };
    }
};
</script>